Problem Note 46728: EMF graphs created with File ► Export as Image in SAS® 9.3 are much larger and cannot be edited in Microsoft Word
Prior to SAS® 9.3, an EMF graph written to disk by selecting
File ►
Export as Image in the SAS windowing environment is a vector-based graph that is fairly small in size. However, exporting the EMF graph to disk using the same technique in SAS 9.3 creates a bitmap image file that is very large in size. For example, selecting
File ►
Export as Image in SAS® 9.2 might create a 127K EMF file. The same technique in SAS 9.3 might create a 2960K EMF file.
Since the EMF graphs that SAS 9.3 creates are bitmap image files, these graphs cannot be edited in Microsoft Word. If you try to edit the SAS 9.3 EMF graph in Word, you will see a blank screen after selecting Edit Picture and converting the graph to a Microsoft Office drawing object.
Currently, the only way to circumvent the problem is to use SAS code to write an EMF file directly to disk. You can do this using the EMF device driver as shown below:
ods _all_ close;
ods listing;
filename grafout 'c:\temp\sastest.emf';
goptions reset=goptions device=EMF gsfname=grafout
gsfmode=replace;
/* Your graph procedure code goes here */
You can also use the SASEMF device driver as shown below:
ods _all_ close;
ods listing;
filename grafout 'c:\temp\sastest.emf';
goptions reset=goptions device=SASEMF gsfname=grafout
gsfmode=replace;
/* Your graph procedure code goes here */
Operating System and Release Information
SAS System | SAS/GRAPH | Windows Vista for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Windows Vista | 9.3 TS1M0 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | 9.4 TS1M0 |
Microsoft® Windows® for x64 | 9.3 TS1M0 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
EMF graphs created with
File ►
Export as Image in SAS® 9.3 are much larger and cannot be edited in Microsoft Word.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-06-05 10:08:23 |
Date Created: | 2012-06-04 13:23:41 |